package com.hngm.bean;

import java.util.List;

public class Product {
   private long id;//产品id
   private String name;//名称
   private String materail;//材质
   private String saleprice;//售价
   private String marketprice;//市场价
   private String brand;//品牌
   private String model;//型号
   private String style;//风格
   private int pack;//是否组装
   private String color;//颜色分类
   private String stylepositioning;//款式定位
   private int customized;//是否定制
   private String elements;//设计元素
   private long producttypetable_id;//产品类型
   private String mainpic;//商品图片
   private String rotationpic;//轮播图
   private int rotation;//是否上轮播
   private int recommend;//是否推荐
   private String creationtime;//创建时间
   private String updatetime;//更新时间
   private List<Productpicture> picList;//产品列表
   
public Product(String name, String materail, String saleprice, String marketprice, String brand, String model,
		String style, int pack, String color, String stylepositioning, int customized, String elements,
		long producttypetable_id, String mainpic, String rotationpic, int rotation, int recommend) {
	super();
	this.name = name;
	this.materail = materail;
	this.saleprice = saleprice;
	this.marketprice = marketprice;
	this.brand = brand;
	this.model = model;
	this.style = style;
	this.pack = pack;
	this.color = color;
	this.stylepositioning = stylepositioning;
	this.customized = customized;
	this.elements = elements;
	this.producttypetable_id = producttypetable_id;
	this.mainpic = mainpic;
	this.rotationpic = rotationpic;
	this.rotation = rotation;
	this.recommend = recommend;
}
public Product(long id, String name, String materail, String saleprice, String marketprice, String brand, String model,
		String style, int pack, String color, String stylepositioning, int customized, String elements,
		long producttypetable_id, String mainpic, String rotationpic, int rotation, int recommend, String creationtime,
		String updatetime, List<Productpicture> picList) {
	super();
	this.id = id;
	this.name = name;
	this.materail = materail;
	this.saleprice = saleprice;
	this.marketprice = marketprice;
	this.brand = brand;
	this.model = model;
	this.style = style;
	this.pack = pack;
	this.color = color;
	this.stylepositioning = stylepositioning;
	this.customized = customized;
	this.elements = elements;
	this.producttypetable_id = producttypetable_id;
	this.mainpic = mainpic;
	this.rotationpic = rotationpic;
	this.rotation = rotation;
	this.recommend = recommend;
	this.creationtime = creationtime;
	this.updatetime = updatetime;
	this.picList = picList;
}
public Product() {
	super();
}
public long getId() {
	return id;
}
public void setId(long id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public String getMaterail() {
	return materail;
}
public void setMaterail(String materail) {
	this.materail = materail;
}
public String getSaleprice() {
	return saleprice;
}
public void setSaleprice(String saleprice) {
	this.saleprice = saleprice;
}
public String getMarketprice() {
	return marketprice;
}
public void setMarketprice(String marketprice) {
	this.marketprice = marketprice;
}
public String getBrand() {
	return brand;
}
public void setBrand(String brand) {
	this.brand = brand;
}
public String getModel() {
	return model;
}
public void setModel(String model) {
	this.model = model;
}
public String getStyle() {
	return style;
}
public void setStyle(String style) {
	this.style = style;
}
public int getPack() {
	return pack;
}
public void setPack(int pack) {
	this.pack = pack;
}
public String getColor() {
	return color;
}
public void setColor(String color) {
	this.color = color;
}
public String getStylepositioning() {
	return stylepositioning;
}
public void setStylepositioning(String stylepositioning) {
	this.stylepositioning = stylepositioning;
}
public int getCustomized() {
	return customized;
}
public void setCustomized(int customized) {
	this.customized = customized;
}
public String getElements() {
	return elements;
}
public void setElements(String elements) {
	this.elements = elements;
}
public long getProducttypetable_id() {
	return producttypetable_id;
}
public void setProducttypetable_id(long producttypetable_id) {
	this.producttypetable_id = producttypetable_id;
}
public String getMainpic() {
	return mainpic;
}
public void setMainpic(String mainpic) {
	this.mainpic = mainpic;
}
public String getRotationpic() {
	return rotationpic;
}
public void setRotationpic(String rotationpic) {
	this.rotationpic = rotationpic;
}
public int getRotation() {
	return rotation;
}
public void setRotation(int rotation) {
	this.rotation = rotation;
}
public int getRecommend() {
	return recommend;
}
public void setRecommend(int recommend) {
	this.recommend = recommend;
}
public String getCreationtime() {
	return creationtime;
}
public void setCreationtime(String creationtime) {
	this.creationtime = creationtime;
}
public String getUpdatetime() {
	return updatetime;
}
public void setUpdatetime(String updatetime) {
	this.updatetime = updatetime;
}
public List<Productpicture> getPicList() {
	return picList;
}
public void setPicList(List<Productpicture> picList) {
	this.picList = picList;
}
   
   
}
